package org.example.doctorapi.server;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import reactor.core.publisher.Flux;

public interface ChatAssistantFlux {
    /**
     * 聊天
     *
     * @param message 消息
     * @return {@link Flux }<{@link String }>
     */
    Flux<String> chat(String message);

    Flux<String> chat(@MemoryId int id,@UserMessage String message);
}
